June 2006
Mukund Sivaraman <muks@mukund.org>
Swap two colors in the colormap
This procedure takes an indexed image and lets you swap the positions of two colors in the colormap without visually changing the image.
unknown
| Type | Name | Description |
|---|---|---|
| PF_INT | run-mode | The run mode { RUN-NONINTERACTIVE (1) } |
| PF_IMAGE | image | Input image |
| PF_DRAWABLE | drawable | Input drawable |
| PF_INT8 | index1 | First index in the colormap |
| PF_INT8 | index2 | Second (other) index in the colormap |
None